package org.bambrikii.lang.translation.translationmodule.model;

import java.util.List;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class PartOfSpeech {
	private String type;
	private List<String> variations;

	public String getType() {
		return type;
	}

	public void setType(final String type) {
		this.type = type;
	}

	public List<String> getVariations() {
		return variations;
	}

	public void setVariations(final List<String> variations) {
		this.variations = variations;
	}

	@Override
	public String toString() {
		final ToStringBuilder b = new ToStringBuilder(this,
				ToStringStyle.MULTI_LINE_STYLE);
		b.append("type", getType());
		b.append("variations", getVariations());
		return b.toString();
	}
}
